class ColumnDefine {
  constructor(columnName = '', comment = '', isEdit = false, isList = false, editType = '', dataSource = '', entityType = '', columnType = '', entityName = '') {
    this.columnName = columnName;
    this.comment = comment;
    this.isEdit = isEdit;
    this.isList = isList;
    this.editType = editType;
    this.dataSource = dataSource;
    this.entityType = entityType;
    this.columnType = columnType;
    this.entityName = entityName;
  }

  static create() {
    return new this();
  }
}

// 使用CommonJS语法导出
module.exports = ColumnDefine;

// 如果使用ES6模块语法导出（确保Node.js支持ESM并且文件扩展名为.mjs或者在package.json中设置"type": "module"）
// export default ColumnDefine;
